function getCookie() {
    let c = document.cookie
    let arr = c.split('; ')
    let obj = {}
    arr.forEach((item) => {
        let arr2 = item.split('=')
        obj[arr2[0]] = arr2[1]
    })
    return obj
}